package com.ruoyi.web.mapper;

import java.util.List;
import com.ruoyi.web.domain.QuantifyProfit;

/**
 * 量化收益Mapper接口
 * 
 * @author ruoyi
 * @date 2023-05-19
 */
public interface QuantifyProfitMapper 
{
    /**
     * 查询量化收益
     * 
     * @param id 量化收益主键
     * @return 量化收益
     */
    public QuantifyProfit selectQuantifyProfitById(Long id);

    /**
     * 查询量化收益列表
     * 
     * @param quantifyProfit 量化收益
     * @return 量化收益集合
     */
    public List<QuantifyProfit> selectQuantifyProfitList(QuantifyProfit quantifyProfit);

    /**
     * 新增量化收益
     * 
     * @param quantifyProfit 量化收益
     * @return 结果
     */
    public int insertQuantifyProfit(QuantifyProfit quantifyProfit);

    /**
     * 修改量化收益
     * 
     * @param quantifyProfit 量化收益
     * @return 结果
     */
    public int updateQuantifyProfit(QuantifyProfit quantifyProfit);

    /**
     * 删除量化收益
     * 
     * @param id 量化收益主键
     * @return 结果
     */
    public int deleteQuantifyProfitById(Long id);

    /**
     * 批量删除量化收益
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteQuantifyProfitByIds(String[] ids);


    public List<QuantifyProfit> selectQuantifyProfitSumList(QuantifyProfit quantifyProfit);

}
